|
![](/i/fill.gif) |
"Shay" <sah### [at] simcoparts com> wrote in message
news:3be00837$1@news.povray.org...
> Any chance you could post the entire code for this image? I would like to
> try some different torus macros I have written with photons, and it would
be
> nice to render them within your scene so that the group and I have a
similar
> image against which to compare mine.
No problem, here it is. You might want to reduce some of the values
though... like the radiosity count, the photon count, and the number of
lights in the area light.
// ah, here we go again...
#declare TestFinish = finish {ambient 0 ior 1.15 diffuse 0.15 specular 0.6
roughness 0.005 brilliance 4 reflection {0.2, 1.0 fresnel on}
conserve_energy}
global_settings {
radiosity {
pretrace_start 0.08
pretrace_end 0.04
error_bound 1.8
recursion_limit 3
low_error_factor .5
gray_threshold 0.0
minimum_reuse 0.015
brightness 1
adc_bailout 0.01/2
normal on
count 1600
nearest_count 7
}
photons {
count 6000000
autostop 0
jitter 1
}
ambient_light rgb <2,0.25,0>
}
camera {location <-4,7,-5> look_at <1,0,1>}
light_source {
0*x
color rgb 1.5
area_light
<1, 0, 0> <0, 0, 1>
18, 18
adaptive 0
jitter
translate <2, 5, -5>
photons {reflection on refraction on}
}
sphere {<0,0,0> 50 texture{pigment {color rgb <0.5,0.5,0.5>}}}
plane {y,0 texture{pigment{color rgb <1,0.75,0>}}}
torus {1.5, 0.5 rotate <90,0,0> translate <0,2,0>
texture{pigment {rgbf <1,1,1,.9>} finish{TestFinish}}
photons {
target
refraction on
reflection on
collect off
}
}
torus {1.5, 0.5 rotate <90,0,0> translate <0,2,0>
texture{pigment {rgbf <1,1,1,.9>} finish{TestFinish}}
photons {
target
refraction on
reflection on
collect off
}
translate <0,0,-2>
}
torus {1.5, 0.5 rotate <90,0,0> translate <0,2,0>
texture{pigment {rgbf <1,1,1,.9>} finish{TestFinish}}
photons {
target
refraction on
reflection on
collect off
}
translate <0,0,2>
}
// end
Post a reply to this message
|
![](/i/fill.gif) |